<link rel="stylesheet" href="css/agcfs.pub.css">
<div class="container-fluid">
    <nav class="navbar navbar-default" role="navigation">
      <div class="navbar-header">
         <a class="navbar-brand" href="#">会计年度</a>
      </div>
      
      <form class="navbar-form navbar-left">
          <div class="input-group">
		      <span class="input-group-addon" id="basic-addon1">会计年度</span>
		      <select class="form-control" id="select-update-nd">
		      <option>请选择会计年度</option>
		      </select>
         </div>

		<button type="button" class="btn btn-default">新增</button>
		<button type="button" class="btn btn-default">编辑</button>
		<button type="button" class="btn btn-default">删除</button>
		<div class="btn-group" role="group" aria-label="...">
		</div>
      </form>     
    </nav>

    <div>
        <table id="assettype-grid" class="table table-striped table-bordered" cellspacing="0" width="100%">
           <thead>
            <tr>
                <th></th>
                <th>年度</th>
                <th>资产类型编码</th>
                <th>资产类型名称</th>
                <th>上级编码</th>
            </tr>
            </thead>
            <tbody></tbody>
            <tfoot>
            <tr>
                <th></th>
                <th>年度</th>
                <th>调整类型编码</th>
                <th>调整类型名称</th>
                <th>上级编码</th>
            </tr>
            </tfoot>
            <!-- tbody是必须的 -->
        </table>
    </div>
</div>
<div class="modal fade" id="delete-assettype-notice" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="jump-content jump-content-delete">
            <div class="jump-header">
                <p class="jump-header-title">系统提示</p>
                <a class="jump-header-close" href="javascript:void(0);"
                   data-bind="click: delete_assettype_close;">
                    <img src="images/ip/menu/close.png" width="12" height="13">
                </a>
            </div>
            <div class="jump-body">
                <div class="jump-body-delete">
                    <p id="jump-delete-text">您确定要删除吗？</p>
                </div>
            </div>
            <div class="jump-footer">
                <div class="jump-footer-btn-right fr">
                    <button class="jump-btn-save" data-bind="click: delete_assettype">确定</button>
                    <button class="jump-btn-cancel" data-bind="click: delete_assettype_close;">
                        取消
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>


<div   class="modal fade"  role="dialog" id="assettype-edit-notice"  aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog editmodal" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">科目编辑</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" role="form">
                    <div class="input-group">
                        <span class="input-group-addon">&emsp;&emsp;&emsp;&emsp;年度</span>
                        <select id="assettype-edit-nd" class="form-control">
				            <option value="" class="year">请选择会计年度</option>
				        </select>                        
                        <!-- <input id="assettype-nd" type="input" class="form-control" data-bind="event:{blur: checkNd}"> -->
                    </div>

                    <div class="input-group">
                        <span class="input-group-addon">资产分类编码</span>
                        <input id="assettype-edit-code" type="text" class="form-control" data-bind="event:{blur: checkAssetTypeCode}">
                    </div>

                    <div class="input-group">
                        <span class="input-group-addon">资产分类名称</span>
                        <input id="assettype-edit-name" type="text" class="form-control">
                    </div>

                    <div class="input-group">
                        <span class="input-group-addon">&emsp;&emsp;上级编码</span>
                        <input id="assettype-edit-pcode" type="text" class="form-control">
                    </div>
                    
                    <input type="hidden" id="assettype-edit-id">
                </form>
            </div>
            <div class="modal-footer">
            	<span id="warn-text" class="label label-warning warn-span">警告标签</span>
                <div class="btn-group" role="group" aria-label="...">
                    <button class="btn btn-primary" data-bind="click: saveAssetTypeEdit">保存</button>
                    <button class="btn btn-primary" data-bind="click: cancelAssetTypeEdit">取消</button>
                </div>
            </div>
        </div>
    </div>
</div>


<div class="modal fade" id="error-notice" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog">
        <div class="jump-content error-notice-content">
            <div class="jump-header">
                <p class="jump-header-title">系统提示</p>
                <!--data-bind="click: error_notice_close;"-->
                <a class="jump-header-close" href="javascript:void(0);">
                    <img src="images/ip/menu/close.png" width="12" height="13">
                </a>
            </div>
            <div class="jump-body">
                <div class="jump-body-error">
                    <p id="error-text"></p>
                </div>
            </div>
        </div>
    </div>
</div>


<div id="save-success-new" class="save-success-new"><img src="images/ip/menu/success_p.png" height="" width=""/>保存成功!</div>
